<template>
		<tabbar :list="version==VERSION_TYPE.EXP_VERSION?RPList:YCList" :iconSize="46" active-color="#365fff" inactive-color="#b4b4b4"/>
</template>

<script lang="ts" setup>
	import tabbar from "@/components/tabbar/index.vue";
	import {VERSION_TYPE} from '@/enum/version';

	const RPList = [{
		iconPath: 'icon-tabbar-home',
		selectedIconPath: 'icon-tabbar-home',
		text: '首页',
		customIcon: false,
		pagePath: '/pages/home/home'
	}, {
		iconPath: 'icon-tabbar-device',
		selectedIconPath: 'icon-tabbar-device',
		text: '分享',
		customIcon: false,
		pagePath: '/pages/share/share'
	}, 
	{
		iconPath: 'icon-tabbar-mine',
		selectedIconPath: 'icon-tabbar-mine',
		text: '我的',
		customIcon: false,
		pagePath: '/pages/mine/mine'
	}];
	
	const YCList = [{
		iconPath: 'icon-tabbar-home',
		selectedIconPath: 'icon-tabbar-home',
		text: '首页',
		customIcon: false,
		pagePath: '/pages/statistics/statistics'
	}, {
		iconPath: 'icon-tabbar-device',
		selectedIconPath: 'icon-tabbar-device',
		text: '申领设备',
		customIcon: false,
		pagePath: '/pages/device/device'
	}, 
	{
		iconPath: 'icon-tabbar-mine',
		selectedIconPath: 'icon-tabbar-mine',
		text: '我的',
		customIcon: false,
		pagePath: '/pages/mine/mine'
	}];
	
	
</script>

<style scoped lang="scss">
	@import "./style.scss";
</style>